@import '@/styles/utils.scss';

.color{
    font-size:24px;
    color:var(--primary-color);
}

.container {
  min-height: 100vh;
  padding: 0 2rem;
  background: #fff;
  position: relative;
  overflow-x: hidden;
}

.main {
  max-width: 1200px;
  margin: 12rem auto 4rem auto;
  text-align: center;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -30%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(32, 98, 239, 0.1), transparent 70%);
    filter: blur(60px);
    z-index: -1;
  }

  .title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 3rem;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease;
  }

  .subtitle {
    font-size: 1.75rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s backwards;
  }

  .cta {
    margin: 8rem 0 5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    display: flex;
    justify-content: center;
    
    .primaryBtn {
      background: #2062ef;
      color: white;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 1.25rem 2.5rem;
      font-size: 1.1rem;
      font-weight: 500;
      border-radius: 8px;
      border: none;
      box-shadow: 0 8px 30px rgba(32, 98, 239, 0.2);
      transition: all 0.3s ease;

      svg {
        transition: transform 0.3s ease;
      }

      &:hover {
        background: #1854d8;
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(32, 98, 239, 0.3);
        
        svg {
          transform: translateX(4px);
        }
      }
    }
  }
}

.features {
  margin-top: 8rem;
  padding: 4rem 0;
  position: relative;
  
  .description {
    max-width: 800px;
    margin: 0 auto 5rem;
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
  }

  .featureGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }

  .featureCard {
    padding: 2.5rem;
    border-radius: 16px;
    background: #fff;
    text-align: left;
    border: 1px solid rgba(32, 98, 239, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, transparent, rgba(32, 98, 239, 0.03));
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    &:hover {
      transform: translateY(-4px);
      border-color: rgba(32, 98, 239, 0.2);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

      &::before {
        opacity: 1;
      }

      .icon {
        transform: scale(1.1);
        background: #2062ef;
        
        svg {
          fill: white;
        }
      }
    }

    .icon {
      width: 56px;
      height: 56px;
      margin-bottom: 1.5rem;
      background: rgba(32, 98, 239, 0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;

      svg {
        fill: #2062ef;
        transition: fill 0.3s ease;
      }
    }

    h3 {
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: #1a1a1a;
    }

    p {
      color: #666;
      line-height: 1.7;
      font-size: 1rem;
    }
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featuresTitle {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.introduce {
  padding-top: 3.125rem;
  .introduceCard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 0;
    text-align: left;
    .leftTextSection {
      text-align: left;
      padding-right: 1.25rem;
      box-sizing: border-box;
      width: 25%;
    }
    .title {
      font-size: 1.5rem;
      font-weight: bold;
    }
  }
  .gifBox {
    flex: 1;
    transition: all 0.3s ease;
    border-radius: 15px;
    img {
      border: 1px solid rgba(32, 98, 239, 0.1);
      border-radius: 15px;
    }

    &:hover {
      transform: translateY(-4px);
      border-color: rgba(32, 98, 239, 0.2);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

      &::before {
        opacity: 1;
      }

      .icon {
        transform: scale(1.1);
        background: #2062ef;
        
        svg {
          fill: white;
        }
      }
    }
  }
}

.footer {
  padding: 4rem 0;
  border-top: 1px solid #eee;
  max-width: 1200px;
  margin: 4rem auto 0 auto;
  .footerContent {

    .footerTitle {
      font-size: 2rem;
      font-weight: 600;
      color: #333;
      margin-bottom: 1rem;
    }

    .footerText {
      color: #666;
      margin-bottom: 1.5rem;
    }

    .contactButton {
      display: inline-block;
      background-color: #007AFF;
      color: white;
      padding: 0.5rem 1.75rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 500;
      transition: background-color 0.2s;
      font-size: 1rem;

      &:hover {
        background-color: darken(#007AFF, 10%);
      }
    }

    .copyright {
      margin-top: 2.1rem;
      color: #999;
      
      .copyText {
        margin: 0.25rem 0;
      }
    }
  }
}
